package com.fadadianqi.logistics.admin.net.mina;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.mina.core.session.IoSession;
import org.apache.mina.filter.codec.ProtocolEncoderAdapter;
import org.apache.mina.filter.codec.ProtocolEncoderOutput;

public class Encoder extends ProtocolEncoderAdapter {

    private static final Log LOG = LogFactory.getLog(Encoder.class);

    @Override
    public void encode(IoSession session, Object message,
                       ProtocolEncoderOutput out) throws Exception {
        if (LOG.isDebugEnabled()) {
            LOG.debug("#encode#");
        }
    }

}
